package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.basic.pojo.dto.MdmDeviceOnlineQueryDto;
import com.kaili.basic.pojo.entity.MdmDeviceOnline;
import com.kaili.basic.pojo.entity.MdmDeviceOnlineExport;
import com.kaili.basic.pojo.vo.MdmDeviceOnlineDetailVo;
import com.kaili.basic.pojo.vo.MdmDeviceOnlineVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: shenliqiang
 * @CreateDate: 2019/7/24 10:48
 * @Version: 1.0
 */
@Mapper
public interface MdmDeviceOnlineMapper {
    //添加
    int addMdmDeviceOnline(MdmDeviceOnline mdmDeviceOnline);
    //删除
    int deleteMdmDeviceOnlines(Map<String, Object> map);
    //更新
    int updateMdmDeviceOnline(MdmDeviceOnline mdmDeviceOnline);
    //调价查询
    List<MdmDeviceOnlineVo> queryMdmDevice(Page<MdmDeviceOnlineVo> page, MdmDeviceOnlineQueryDto mdmDeviceOnlineQueryDto);
    //导出
    List<MdmDeviceOnlineExport> queryMdmDeviceOnlineExport(MdmDeviceOnlineQueryDto mdmDeviceOnlineQueryDto);
    //查询详细
    MdmDeviceOnlineDetailVo queryOnlineDeviceDetail(Long deviceOnlineId);

}
